package org.tloss.web.editor.model.oper.math;

public class ConstOperand extends MathOperand {
	private String value;
	private String type;

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	@Override
	public String getDisplayText() {

		return getValue();
	}

	@Override
	public String generate(int type, Object[] param) {
		return getDisplayText();
	}

	public void setType(String type) {
		this.type = type;
	}
	@Override
	public String getType() {
		
		return type;
	}

}
